[NET] back: Fix DPRINTK message.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 27 Nov 2006 13:22:21 +0000 (13:22 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 27 Nov 2006 13:22:21 +0000 (13:22 +0000)
Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/drivers/xen/netback/netback.c

index 19e0cdef17ec29e23e7f56b7f310c787c6083176..1d24fc9b88b36afaea4429394f615340c5cd2016 100644 (file)
@@ -494,7 +494,7 @@ static int netbk_check_gop(int nr_frags, domid_t domid,
                        copy_op = npo->copy + npo->copy_cons++;
                        if (copy_op->status != GNTST_okay) {
                                DPRINTK("Bad status %d from copy to DOM%d.\n",
-                                       gop->status, domid);
+                                       copy_op->status, domid);
                                status = NETIF_RSP_ERROR;
                        }
                } else {